

package com.yungu.swift.schedule.service.impl;

import com.alibaba.dubbo.config.annotation.Reference;
import com.yungu.swift.system.marketing.service.MarketingChannelStatisticsService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @author Zerrion
 * @version 1.0
 * @description 统计渠道用户数
 * @date 2017/11/22 10:13
 */
@Service
public class StatisticsChannelPersonService {
    @Reference
    private MarketingChannelStatisticsService marketingChannelStatisticsService;

    private static final Logger logger = LoggerFactory.getLogger(StatisticsChannelPersonService.class);

    /**
     * 统计当天渠道邀请的用户
     */
    public void statisticsChannelPerson() {
        logger.info("---统计当天渠道邀请的用户--开始---");
        marketingChannelStatisticsService.statisticsChannelPerson();
        logger.info("---统计当天渠道邀请的用户--结束---");
    }
}
